import httpClient from '../utils/httpClient';

export default {

  //分页查询
  listHistoryByPage: (data,callback) => {
    return httpClient('/bookHistory/listHistoryByPage', {method:'post',data,}, callback);
  },

  //添加
  insertHistory: (data,callback) => {
    return httpClient('/bookHistory/insertHistory', {method:'post',data,}, callback);
  },

  //修改
  updateHistory: (data,callback) => {
    return httpClient('/bookHistory/updateHistory', {method:'post',data,}, callback);
  },

  //删除
  deleteHistory: (data,callback) => {
    return httpClient('/bookHistory/deleteHistory', {method:'post',params:data,}, callback);
  },


}
